﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    struct PersonStruct {
        public  string name;
        public int phone;
        public string address;

        

        public PersonStruct(string name, int phone, string address)
        {
            this.name = name;
            this.phone = phone;
            this.address = address;
        }
        public void Print() {
            Console.WriteLine("我叫{0}，我的手机号是{1}，我的地址是{2}",this.name,this.phone,this.address);
        }


    }
    class Program0
    {
        static void Main(string[] args)
        {
            PersonStruct p1;
            p1.name = "张三";
            p1.phone = 10086;
            p1.address = "台湾省";
            p1.Print();
            PersonStruct p2=p1;
            p2.name = "李四";
            p1.Print();
        }
    }
}
